//
//  MyCollectionViewCell.m
//  A段项目
//
//  Created by cmcmhjr123 on 15/7/23.
//  Copyright (c) 2015年 dlios. All rights reserved.
//

#import "MyCollectionViewCell.h"

@implementation MyCollectionViewCell


-(void)dealloc
{
    [_namelabel release];
    [_image release];
    [super dealloc];
}
-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        
        
        self.image = [[UIImageView alloc] initWithFrame:CGRectMake(25, 20, 45, 45)];
        [self addSubview:self.image];
        [self.image release];
        
        
        self.namelabel = [[UILabel alloc] initWithFrame:CGRectMake(6, 70, 80, 20)];
        [self addSubview:self.namelabel];
        self.namelabel.textAlignment = 1;
        self.namelabel.font = [UIFont systemFontOfSize:14];
        self.namelabel.textColor = [UIColor grayColor];
        [self.namelabel release];
    }
    return self;
}





@end
